package com.blog.blogpro.common.exception;

/**
 * Created by sqlxx on 3/26/16.
 * Copyright to Maycur Tech.
 */
public class NAckException extends RuntimeException {

    private Object[] args;

    private boolean linkDetail;

    public NAckException() {
        super();
    }

    public NAckException(String message, Throwable cause) {
        super(message, cause);
    }

    public NAckException(String message) {
        super(message);
    }

    public NAckException(boolean linkDetail,String message) {
        super(message);
        this.linkDetail = linkDetail;
    }

    public NAckException(String message, Object[] args) {
        super(message);
        this.args = args;
    }

    public Object[] getArgs() {
        return args;
    }

    public boolean isLinkDetail() {
        return linkDetail;
    }

    public void setLinkDetail(boolean linkDetail) {
        this.linkDetail = linkDetail;
    }
}
